fix typo

Andrew Cantino 9 years ago
parent
commit
4d73e4d7ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/agents/gap_detector_agent.rb

+ 1 - 1
app/models/agents/gap_detector_agent.rb

@@ -21,7 +21,7 @@ module Agents
21 21
 
22 22
     def validate_options
23 23
       unless options['message'].present?
24
-        errors.add(:base, "window_duration_in_days and message are required")
24
+        errors.add(:base, "message is required")
25 25
       end
26 26
 
27 27
       unless options['window_duration_in_days'].present? && options['window_duration_in_days'].to_f > 0